<?php
/* 
* rt-theme home page 
*/
get_header();  
?>

<?php if(!get_option("rttheme_remove_slider")):?>
<!-- slider area -->	
<div id="slider">
    <?php if(!get_option('rttheme_slider_numbers')):?> 
    <!-- prev & next buttons -->
    <div id="numbers">
	<div class="prev"><img src="<?php bloginfo('template_directory'); ?>/images/custom/slider-prev.png" alt="" /></div>
	<div class="next"><img src="<?php bloginfo('template_directory'); ?>/images/custom/slider-next.png" alt="" /></div>
    </div>
    <!-- / prev & next buttons -->
    <?php endif;?>
	
    <div id="slider_area">

	<?php
	//Home Page Content
	if (function_exists('dynamic_sidebar')){
		dynamic_sidebar('Home Page Slider');
	}
	?>
	
    </div>
    
</div>
<!-- / slider -->
<?php endif;?>

<div id="main">
    
    <div class="row">
        <div class="box one-half-col first">
            <?php dynamic_sidebar('Home Page Welcome'); ?>
        </div>
        <div class="box four-col last">
            <?php dynamic_sidebar('Home Page Past Events'); ?>
        </div>
    </div>
    <div class="row">
        <div class="box one-half-col first">
            <?php dynamic_sidebar('Home Page Next Events'); ?>
            <?php dynamic_sidebar('Home Page Products'); ?>
        </div>
        <div class="box four-col last">
            <?php dynamic_sidebar('Home Page Articles'); ?>
            <?php dynamic_sidebar('Home Page Advertisements'); ?>
        </div>
    </div>

    <!-- featured boxes -->
    <?php
    //Home Page Content
    /*if (function_exists('dynamic_sidebar')){
            dynamic_sidebar('Home Page Contents');
    }*/
    ?>
    <!-- /featured boxes -->

    <div class="clear"></div>
</div>

<?php get_footer();?>